<?php

use App\Enums\AssetKeyStatus;
use App\Enums\AssetSourceType;
use App\Enums\AssetStatus;
use App\Enums\AvailableStatus;
use App\Enums\ConvertStatus;
use App\Enums\DivideStatus;
use App\Enums\ImageResource;
use App\Enums\LoginMode;
use App\Enums\LotteryRecordStatus;
use App\Enums\MessagePublishStatus;
use App\Enums\OngoingStatus;
use App\Enums\OrderStatus;
use App\Enums\PaymentStatus;
use App\Enums\Payway;
use App\Enums\ProductStatus;
use App\Enums\ProductType;
use App\Enums\RegistryStatus;
use App\Enums\SettleWay;
use App\Enums\ShippingStatus;
use App\Enums\TextResource;
use App\Enums\TokenLockType;
use App\Enums\TokenStatus;
use App\Enums\TransStatus;

return [
    ImageResource::class => [
        ImageResource::TEST => '测试专用',
    ],
    TextResource::class => [
        TextResource::TEST => '测试专用',
    ],
    AvailableStatus::class => [
        AvailableStatus::ENABLED => '启用',
        AvailableStatus::DISABLED => '禁用',
    ],
    ProductType::class => [
        ProductType::ISSUE => '发行',
        ProductType::RESALE => '转售',
        ProductType::BLIND_BOX => '肓盒',
    ],
    ProductStatus::class => [
        ProductStatus::INIT => '未上架',
        ProductStatus::PAUSE => '暂停发行',
        ProductStatus::STOP => '停止发行',
        ProductStatus::ON_SALE => '发行中',
    ],

    OrderStatus::class => [
        OrderStatus::NOT_PAY => '未支付',
        OrderStatus::MERGE_PAYING => '合并支付中',
        OrderStatus::PAID => '已支付',
        OrderStatus::CANCEL => '已取消',
        OrderStatus::AUTO_CANCEL => '超时取消',
    ],

    TokenStatus::class => [
        TokenStatus::INIT => '未出售',
        TokenStatus::SOLD => '已出售',
        TokenStatus::LOCKED => '已锁定',
        TokenStatus::FAILED => '转账失败',
    ],

    TokenLockType::class => [
        TokenLockType::ORDER => '发行',
        TokenLockType::BLIND_BOX => '肓盒',
        TokenLockType::CONVERT => '合成',
        TokenLockType::AIRDROP => '空投',
    ],

    PaymentStatus::class => [
        PaymentStatus::PAYING => '支付中',
        PaymentStatus::FINISHED => '支付完成',
        PaymentStatus::REFUNDED => '已退款',
        PaymentStatus::FAILED => '支付失败',
    ],

    Payway::class => [
        Payway::UNION_PAY => '快捷支付',
    ],

    DivideStatus::class => [
        DivideStatus::INIT => '等待分账',
        DivideStatus::DIVIDING => '正在分账',
        DivideStatus::DIVIDED => '分账完成',
        DivideStatus::FAILED => '分账失败',
        DivideStatus::NOT_SUPPORT => '不支持分账',
    ],

    AssetStatus::class => [
        AssetStatus::HOLD => '持有中',
        AssetStatus::ON_SALE => '转售中',
        AssetStatus::SOLD => '已转售',
        AssetStatus::GIVE => '已转赠',
        AssetStatus::WAIT_RECOVERY => '等待回收',
        AssetStatus::RECOVERED => '已回收',
        AssetStatus::EXCHANGED => '已兑换',
    ],

    AssetSourceType::class => [
        AssetSourceType::AIRDROP => '空投',
        AssetSourceType::ORDER => '购买',
        AssetSourceType::CONVERT => '合成',
        AssetSourceType::GIVE => '转赠',
        AssetSourceType::BLIND_BOX => '盲盒',
    ],

    TransStatus::class => [
        TransStatus::FAILED => '转账失败',
        TransStatus::SUCCESS => '转账成功',
    ],

    RegistryStatus::class => [
        RegistryStatus::NOT_PAY => '未支付',
        RegistryStatus::SUBMITTED => '已提交',
        RegistryStatus::SUBMIT_FAIL => '提交失败',
        RegistryStatus::PASS => '审核通过',
        RegistryStatus::REJECTED => '审核拒绝',
    ],
    SettleWay::class => [
        SettleWay::MONTH_SETTLE => '线下月结',
        SettleWay::EVERY_TIME => '单次付费',
    ],

    ConvertStatus::class => [
        ConvertStatus::PROCESSING => '处理中',
        ConvertStatus::SUCCESS => '合成成功',
        ConvertStatus::FAIL => '合成失败',
    ],

    AssetKeyStatus::class => [
        AssetKeyStatus::USED => '已使用',
        AssetKeyStatus::NOT_USE => '未使用',
    ],

    OngoingStatus::class => [
        OngoingStatus::NOT_START => '未开始',
        OngoingStatus::ON_GOING => '进行中',
        OngoingStatus::FINISHED => '已结束',
    ],

    LoginMode::class => [
        LoginMode::PASSWORD => '密码登录',
        LoginMode::VERIFY_CODE => '验证码登录',
        LoginMode::VERIFY_CODE_FAST => '验证码快速登录',
        LoginMode::REGISTER => '注册后直接登录',
    ],

    ShippingStatus::class => [
        ShippingStatus::UNSHIPPED => '未发货',
        ShippingStatus::SHIPPED => '已发货',
    ],

    MessagePublishStatus::class => [
        MessagePublishStatus::INIT => '未处理',
        MessagePublishStatus::PUBLISHING => '正在发布',
        MessagePublishStatus::PUBLISHED => '已发布',
    ],

    LotteryRecordStatus::class => [
        LotteryRecordStatus::WAITING => '未发放',
        LotteryRecordStatus::SENT => '已发放',
    ],
];
